package com.zjgxzh.agentservice.pojo;

import lombok.Data;

@Data
public class ResponseDialog {

    private String event;
    private String task_id;
    private String id;
    private String message_id;
    private String conversation_id;
    private String mode;
    private String answer;
    private Metadata metadata;
    private String created_at;

    public static class Metadata {
        private Usage usage;
        public static class Usage {
            private int prompt_tokens;
            private String prompt_unit_price;
            private String prompt_price_unit;
            private String prompt_price;
            private int completion_tokens;
            private String completion_unit_price;
            private String completion_price_unit;
            private String completion_price;
            private int total_tokens;
            private String total_price;
            private String currency;
            private double latency;
        }
    }
}
